package com.example.yjhadmin.service;

import com.example.common.vo.Result;
import com.yc.yjh.entity.Results;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "yjh-match")
@RequestMapping("/yjhmatch/matches")
public interface MatchFeign {
    @RequestMapping("selectMatches")
    List selectMatches();
    @RequestMapping("selectMatchById")
    Result selectMatchById(@RequestParam("mid") String mid);

}
